package com.smart.web.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.smart.web.reqeust.CartRequestParams;
import com.smart.web.vo.CartItemVo;

import java.util.List;

public interface CartItemService {
    int save(CartRequestParams requestParams);

    int del(Long cartId);

    IPage<CartItemVo> list(Long memberId, Integer page, Integer size);

    int batchDel(List<Long> ids);

    int modifyQuantity(Long cartId, Integer quantity);
}
